package com.xiaoyu.lanling.event.ontv

import com.xiaoyu.lanling.common.UTEvent
import com.xiaoyu.lanling.util.event
import com.xiaoyu.lanling.util.logEvent

class TVLogger {
    companion object {
        fun logRequestStart() {
            event(UTEvent.TV.ONTV_REQUEST_START)
                    .logEvent()
        }

        fun logRequestFail() {
            event(UTEvent.TV.ONTV_REQUEST_FAILURE)
                    .logEvent()
        }

        fun logRequestSuccess() {
            event(UTEvent.TV.ONTV_REQUEST_SUCCESS)
                    .logEvent()
        }

        fun logShow() {
            event(UTEvent.TV.ONTV_ITEM_SHOW)
                    .logEvent()
        }
    }
}